package cn.bytecollege.common.entity;

import lombok.Data;

import java.time.LocalDateTime;
@Data
public class User {
    private Integer userId;
    private String username;
    private String userPassword;
    private String userPhonenumber;
    private LocalDateTime createTime;
    private String userHeadPortrait;
    private String userGender;
    private String userNickname;

    public String getCreateTime() {
        return  createTime.toString().replace("T"," ");
    }
}
